import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    nowIndex: '/homeframe/home/system',
    usermsg: {}
  },
  getters: {},
  mutations: {
    changePage(state, data) {
      state.nowIndex = data;
    },
    changeUser(state, data) {
      state.usermsg = data;
    }
  },
  actions: {},
  modules: {}
})